﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Janus.Windows.UI;
using VSSTQH.Properties;

namespace VSSTQH
{
    public class CompanyInfo
    {

        #region Name
        public string Name
        {
            get { return Settings.Default.CompanyName; }
            set
            {
                if (Settings.Default.CompanyName != value)
                {
                    Settings.Default.CompanyName = value;
                }
            }
        }
        #endregion

        #region Address
        public string Address
        {
            get { return Settings.Default.CompanyAddress; }
            set
            {
                if (Settings.Default.CompanyAddress != value)
                {
                    Settings.Default.CompanyAddress = value;
                }
            }
        }
        #endregion


        #region Stored
        public string Stored
        {
            get { return Settings.Default.Stored; }
            set
            {
                if (Settings.Default.Stored != value)
                {
                    Settings.Default.Stored = value;
                }
            }
        }
        #endregion

        #region MM_S2C
        public string MM_S2C
        {
            get { return Settings.Default.MM_S2C; }
            set
            {

                if (Settings.Default.MM_S2C != value)
                {
                    Settings.Default.MM_S2C = value;
                }
            }
        }
        #endregion

        #region MM_C2S
        public string MM_C2S
        {
            get { return Settings.Default.MM_C2S; }
            set
            {

                if (Settings.Default.MM_C2S != value)
                {
                    Settings.Default.MM_C2S = value;
                }
            }
        }
        #endregion

        #region SD_S2C
        public string SD_S2C
        {
            get { return Settings.Default.SD_S2C; }
            set
            {

                if (Settings.Default.SD_S2C != value)
                {
                    Settings.Default.SD_S2C = value;
                }
            }
        }
        #endregion

        #region SD_C2S
        public string SD_C2S
        {
            get { return Settings.Default.SD_C2S; }
            set
            {

                if (Settings.Default.SD_C2S != value)
                {
                    Settings.Default.SD_C2S = value;
                }
            }
        }
        #endregion
    }
}
